<?xml version="1.0" encoding="UTF-8"?>    
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:f="http://java.sun.com/jsf/core" 
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.prime.com.tr/ui"
      xmlns:c="http://java.sun.com/jstl/core"
      xmlns:a4j="http://richfaces.org/a4j"
      xmlns:rich="http://richfaces.org/rich"
      xmlns:composite="http://java.sun.com/jsf/composite">
<composite:interface>
	<composite:attribute name="consultations" type="com.ejd.hibernate.dao.support.Page"/>
	<composite:attribute name="locale" method-signature="java.lang.String"/>
</composite:interface>
<composite:implementation>
	<div id="page-question-list0">
		<h:outputLabel value="#{msgs['have.none.consultation.display']}" rendered="#{empty cc.attrs.consultations.result}"></h:outputLabel>
			<a4j:repeat value="#{cc.attrs.consultations.result}" var="consultation">
				<div class="page-question-list">
					<div class="boxBlue">
						<div class="page-question-user">[#{msgs['customer.name.display']}:#{consultation.customer.name} #{msgs['consultation.asktime.display'] }:<h:outputText value="#{consultation.askTime}"><f:convertDateTime timeZone="GMT+8" locale="#{cc.attrs.locale}" pattern="yyyy-MM-dd HH:mm:ss"/></h:outputText> #{msgs['consultation.type.display']}:#{consultation.typeCodeDisplay}</div>
						<div class="page-question-question">#{consultation.content }</div>
					</div>
					<div class="page-question-apply">
						#{consultation.reply.content}
					</div>
					<div class="page-question-replyer">#{msgs['reply.replier.name.display']}:#{consultation.reply.user.userId } #{msgs['reply.time.display'] }:<h:outputText value="#{consultation.reply.replyTime}"><f:convertDateTime timeZone="GMT+8" locale="#{cc.attrs.locale}" pattern="yyyy-MM-dd HH:mm:ss"/></h:outputText></div>
					
				</div>
			</a4j:repeat>
	</div>
</composite:implementation>

</html>
